package com.threaddemo1;

public class ThreadDemo2 extends Thread{

    @Override
    public void run() {
        Constant.count++;
        System.out.println(Constant.count);
    }
}
